<div class="field grid">
  <label class="col-12 mb-2 md:col-2 md:mb-0">朝向</label>
  <div class="col-12 md:col-10">
    <p-dropdown [options]="orientations"
      [disabled]="true"
      [(ngModel)]="cfg.Orientation"></p-dropdown>
  </div>
</div>
<div class="field grid mr-0">
  <div class="col-12 md:col-6 field grid">
    <label class="col-12 mb-2 md:col-4 md:mb-0">最小列</label>
    <div class="col-12 md:col-8">
      <p-inputNumber type="text"
        class="w-full p-inputtext-sm"
        placeholder="最小列"
        [disabled]="true"
        [(ngModel)]="cfg.MinColumn" />
    </div>
  </div>
  <div class="col-12 md:col-6 field grid">
    <label class="col-12 mb-2 md:col-4 md:mb-0">最大列</label>
    <div class="col-12 md:col-8">
      <p-inputNumber type="text"
        class="w-full p-inputtext-sm"
        placeholder="最大列"
        [disabled]="true"
        [(ngModel)]="cfg.MaxColumn" />
    </div>
  </div>
</div>
<div class="field grid mr-0">
  <div class="col-12 md:col-6 field grid">
    <label class="col-12 mb-2 md:col-4 md:mb-0">最小列MM</label>
    <div class="col-12 md:col-8">
      <p-inputNumber type="text"
        class="w-full p-inputtext-sm"
        placeholder="最小列MM"
        [disabled]="true"
        [(ngModel)]="cfg.OffsetMin" />
    </div>
  </div>
  <div class="col-12 md:col-6 field grid">
    <label class="col-12 mb-2 md:col-4 md:mb-0">最大列MM</label>
    <div class="col-12 md:col-8">
      <p-inputNumber type="text"
        class="w-full p-inputtext-sm"
        placeholder="最大列MM"
        [disabled]="true"
        [(ngModel)]="cfg.OffsetMax" />
    </div>
  </div>
</div>
<div class="field grid">
  <label class="col-12 mb-2 md:col-2 md:mb-0">是否双深位</label>
  <div class="col-12 md:col-10">
    <p-inputSwitch [ngModel]="cfg.DoubleLine"
      [disabled]="true"
      class="block"></p-inputSwitch>
  </div>
</div>
<div class="field grid">
  <label class="col-12 mb-2 md:col-2 md:mb-0">是否显示</label>
  <div class="col-12 md:col-10">
    <p-inputSwitch [(ngModel)]="cfg.IsVisible"
      [disabled]="true"
      class="block"></p-inputSwitch>
  </div>
</div>
<div class="field grid">
  <label class="col-12 mb-2 md:col-2 md:mb-0">SRM移动配置</label>
  <div class="col-12 md:col-10">
    <p-dropdown [(ngModel)]="cfg.SrmField"
      [options]="fields"
      [disabled]="true"
      optionValue="Name"
      optionLabel="Description"></p-dropdown>
  </div>
</div>